/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ctrl.jeu;

import java.io.Serializable;

/**
 *
 * @author Willy KONGUEM
 */
public class Couleur implements Serializable{
    private String Nom;
    private String Image;
    public static Couleur Trefle=new Couleur("trefle","trefle.png");
    public static Couleur Coeur=new Couleur("Coeur","coeur.png");
    public static Couleur Pique=new Couleur("Pique","pique.png");
    public static Couleur Carreau=new Couleur("Carreau","carreau.png");

    public Couleur(String Nom, String Image) {
        this.Nom = Nom;
        this.Image = Image;
    }

    public String getImage() {
        return Image;
    }

    public void setImage(String Image) {
        this.Image = Image;
    }

    public String getNom() {
        return Nom;
    }

    public void setNom(String Nom) {
        this.Nom = Nom;
    }

    @Override
    public String toString() {
        return getNom();
    }

}
